<?php
// 代理中心，开户页面，生成邀请码
defined('IN_YuLin') || exit('NO PERMIT!');
UserLogin();

$showPage  = '';
$operation = NoBadStr($_REQUEST['operation']);
// 载入所有彩种类别
$cateTab   = Table('lottery_category');
$sql       = 'SELECT id, name FROM ' . $cateTab . ' WHERE status = 0';
$cateList  = $db->getall($sql, 'id');
switch ($operation){
    case 'addCode':
        break;
    default:
        $showPage = 'agent/manageInvite';
        break;
}



$tpl->display($showPage);